package com.example.administrator.hqq.utils;

import android.content.Context;

import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;

/**
 * @name: HQQ
 * @describe:
 * @author: 康海涛 QQ2541849981
 * @time: 2018/12/18 20:42
 * @remark:
 */
public class GlidePrestrainPicUtils {
    public static void PrestrainPicUtils(Context context,String Url){
        Glide.with(context)
                .load(Url)
                .diskCacheStrategy(DiskCacheStrategy.SOURCE)
                .preload();
    }
}
